package com.xayy.health.core.enums;

/**
 * @description:
 * @author: liyz
 * @createDate: 2023/10/30 0030
 * @version: 1.0
 */
public enum WebsocketTopicEnum {
    //数据处理模块
    TRIAL("/topic/trial", "数据处理模块"),
    //事后诊断
    DIAGNOSE("/topic/diagnoseModelTrial", "事后诊断"),
    //事后诊断试算
    DIAGNOSE_TRY("/topic/diagnoseModelTrial/try", "事后诊断试算"),
    //趋势预测
    CALCULATE("/topic/calculateModelTrial", "趋势预测"),
    //趋势预测试算
    CALCULATE_TRY("/topic/calculateModelTrial/try", "趋势预测试算");

    private String code;

    private String name;

    WebsocketTopicEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
